import request from "@/utils/request";

export function getDish(params) {
  return request({
    url: "/dish/page",
    method: "get",
    params,
  });
}

export function getCategory(params) {
  return request({
    url: "/category/page",
    method: "get",
    params,
  });
}

export function deleteDish(params) {
  return request({
    url: "/dish",
    method: "delete",
    params,
  });
}
